//
//  DaltonizerTests.h
//  iSeeColor
//
//  Created by Wyatt Gosling on 10/26/12.
//  Copyright (c) 2012 Wyatt Gosling. All rights reserved.
//

#import <SenTestingKit/SenTestingKit.h>
#import "../iSeeColor/Daltonizer.h"

// Testing the daltonization algorithm for weird bugs, etc.
@interface DaltonizerTests : SenTestCase

@property (strong, nonatomic) Daltonizer* dal;
@property (nonatomic) NSInteger width;
@property (nonatomic) NSInteger height;
@property (nonatomic) NSInteger size;

// Initializa the algorithm and the size of the test "image".
- (void)setUp;

// Tear it all down.
- (void)tearDown;

// Check that the alpha values are not affected by the algorithm.
- (void) test_alphaAlwaysMax;

// Run the algorithm on an image that is entirely blue.
- (void) test_daltonizeBlue;

// Run the algorithm on an image that is entirely yellow.
- (void) test_daltonizeYellow;

// Run the algorithm on an image that is entirely green.
- (void) test_daltonizeGreen;

// Run the algorithm on an image that is entirely red.
- (void) test_daltonizeRed;

// Run the algorithm on an image that is entirely white.
- (void) test_daltonizeWhite;

// Run the algorithm on an image that is entirely black.
- (void) test_daltonizeBlack;


@end
